Exceptions or compiler diagnostics are passed to the log() method or written directly into the scrollable errors component in the application. 异常或编译器诊断信息被传递给log()方法或直接写入到应用程序中可滚动的errors组件。
A client provides a DiagnosticListener to the compiler, through which the compiler passes diagnostics back to the client. 客户机向编译器提供一个DiagnosticListener,编译器可通过它向客户机发回诊断信息。
The compiler offers several new diagnostics ( finding dead code, for example), and each reported problem comes with corresponding quick fixes to get rid of the problem, said Dani Megert, project lead. 编译器提供一些新的诊断(例如发现死锁),并且每个被报告的问题都附有相应的快速修复以消除问题,项目主管DaniMegert说道。
Because the compiler had access to the full program source code, the MUDFLAP diagnostics are very valuable. 由于编译器可以访问完整的程序源代码,所以MUDFLAP诊断非常有价值。
Not switching to the command-line options may hamper compiler diagnostics when using friend assemblies. 使用友元程序集时,不切换到命令行选项可能会阻碍编译器进行诊断。
Compiler error detection and diagnostics 编译程序错误检测和诊断